<a class="dropdown-toggle"
   ng-click="controller.isCollapsed = !controller.isCollapsed">

  {$ title $}<i class="caret"></i>

</a>
<div uib-collapse="controller.isCollapsed">
  <ng-transclude></ng-transclude>
</div>